package com.zlp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;



@SpringBootApplication
//扫描 mybatis dao 包路径
@MapperScan(basePackages = "com.zlp.dao", sqlSessionFactoryRef = "sqlSessionFactory")
public class MybatisApplication {

	public static void main(String[] args) {
		SpringApplication.run(MybatisApplication.class, args);
	}

}

